package com.aisile.student.mapper;


import com.aisile.model.student.pojos.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Auther:yry
 * @Date:2024/6/19 0019
 * @VERSON:1.0
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    // 使用SQL 方式
    public User findUserByPhoneOrName(@Param("name") String name);

}
